package com.lu.stack.nacos.model.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lu.component.crypto.annotations.FieldCrypto;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 文章列表(lu_article)实体类
 *
 * @author showlu
 * @since 2023-01-30 23:59:01
 * @description 
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("lu_article")
public class Article implements Serializable {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
	private Long id;
    /**
     * createTime
     */
    private String createTime;
    /**
     * updateTime
     */
    private String updateTime;
    /**
     * headerPid
     */
    private Long headerPid;
    /**
     * 作者id
     */
    private Long userId;
    /**
     * 标题
     */
    @FieldCrypto
    private String title;
    /**
     * 作者
     */
    @FieldCrypto
    private String author;
    /**
     * 授权等级
     */
    private Integer authLevel;
    /**
     * 积分
     */
    private String points;
    /**
     * 浏览量
     */
    private Integer views;
    /**
     * 点赞数
     */
    private Integer thumbsUp;
    /**
     * -1保存草稿;0等待审核;1审核通过
     */
    private Integer status;
    /**
     * 排序
     */
    private Integer sort;

}